﻿using System;
using System.Collections.Generic;
using System.Text;

namespace OL.FrameCore.Application
{
    public interface IServiceBase<Dto> where Dto :class
    {
        List<Dto> GetList();

        Dto GetModel(long id);

        bool Insert(Dto dto);

        bool Update(Dto dto);

        bool Delete(long id);

        bool SoftDelete(long id);
    }
}
